let options = {
    title: "My menu",
    items: ["Item1", "Item2"],
};

function showMenu({
    title = "Untitled",
    width = 200,
    height = 100,
    items = []
}) {
    alert(`${title} ${width} ${height}`);
    alert(items);
};

showMenu(options);